#ifndef _SysTick_H
#define _SysTick_H

#include "system.h"

typedef struct 
{
	__IO uint8_t T_1ms			:1;
	__IO uint8_t T_10ms			:1;
	__IO uint8_t T_500ms		   :1;
	__IO uint16_t KEY_STATE;
   __IO uint32_t Dleay_T_MS;

} Flag_structInit;

extern Flag_structInit Flag;
   
void SysTick_Init(u8 SYSCLK);
void delay_ms(u16 nms);
void delay_us(u32 nus);



#endif
